import re
msg = "san chuang tong le, welcom ,'hello world', learn python"
ret = re.findall('(?<=\')[a-zA-Z ]+(?=\')|(?<!\')[a-zA-Z]+(?!\')',msg)
print(ret)